package com.fulihui.common.enums;


/**
 * 微信授权回调事件类型
 *
 * @author wang_wx
 * @date 2018-06-20
 */
public enum PreAuthTypeEnum implements BaseEnum {
    component_verify_ticket("component_verify_ticket", "票据推送"),
    unauthorized("unauthorized", "取消授权"),
    authorized("authorized", "授权成功"),
    updateauthorized("updateauthorized", "授权更新");

    private String code;
    private String desc;

    PreAuthTypeEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
